﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using HCMServices.DTO;

namespace HCMServices.BUS
{
    /// <summary>
    /// Service object
    /// </summary>
    public class Service
    {
        /*
         * Fields 
         */
        private Place _place;
        private Coordinates _coordinates;

        /*
         * Properties
         */
        public Place Place
        {
            get 
            { 
                return _place;
            }

            set 
            { 
                _place = value;
                _coordinates.GetCoordinatesFromPlace(Place.Data);
            }
        }

        public Coordinates Coordinates
        {
            get { return _coordinates; }
            set { _coordinates = value; }
        }

        /*
         * Methods
         */
        public static List<Service> Search(string input)
        {
            return null;
        }
    }
}
